import React, { Component } from "react";

class News extends Component {
  state = {
    newsArr: ["news001", "news002", "news003"],
  };
  render() {
    return (
      <ul>
        {this.state.newsArr.map((val, index) => (
          <li key={index}>{val}</li>
        ))}
      </ul>
    );
  }
}

export default News;
